package com.wry.spring.controller;

/**
 * <h1>  </h1>
 *
 * @author wry
 * @since 2025.04.28
 */
public class Single {
    private static volatile Single single;

    public static Single getSingle (){
        if (null == single) {
            synchronized (Single.class) {
                if (single == null) {
                    single = new Single();
                }
            }
        }
        return single;
    }
}
